home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / GAMES / ARCELITE.ZIP / !élite / MainRun < prev    next >
Text File  |  1995-05-24  |  1KB  |  56 lines

  1. |
  2. | Elite !Run File
  3. | ----------------
  4. |
  5. | Archimedes Elite             - Copyright © 1991 Hybrid Technology
  6. | Archimedes Elite written by  - Warren Burch & Clive Gringras. 
  7. | Original Game Concept        - Copyright © 1984 Ian Bell & David Braben
  8.  
  9. Set Elite$Dir <Obey$Dir>
  10. Set EliteSounds$Dir <Elite$Dir>.Sounds
  11.  
  12. Set File$Type_C87 EliteCom
  13. Set Alias$@RunType_C87 Run <Obey$Dir>.!Run %%*0
  14.  
  15. WimpSlot -min 450k -max 450k
  16.  
  17. |
  18. | Check Elite knows where a !System directory can be found
  19. | --------------------------------------------------------
  20. |
  21.  
  22. If "<System$Path>" = "" Then Error System resources cannot be found - please open a directory with a !System in it
  23.  
  24.  
  25. |
  26. | Check that an old version of Clib is not already installed
  27. | ----------------------------------------------------------
  28. |
  29.  
  30. set clib$flag 0
  31. RMensure SharedClibrary 3.76 set clib$flag 1
  32. RMensure SharedClibrary 0 set clib$flag 0
  33. if "<clib$flag>"="1" then Error An old version of the shared C library (clib) is resident in your machine.
  34. unset clib$flag
  35.  
  36.  
  37. |
  38. | Install the shared C library (Clib)
  39. | -----------------------------------
  40. |
  41.  
  42. RMensure SharedClibrary 3.76 RMload System:Modules.Clib
  43. RMensure SharedClibrary 3.76 Error You need at least version 3.76 of the shared C library
  44.  
  45. RMEnsure CLockUtils 0.00 RMLoad <Elite$Dir>.CLockUtils
  46.  
  47. |
  48. | Load main code 
  49. | --------------
  50. |
  51. |     strap into the colourful seat.....
  52.  
  53. WimpSlot -min 450k -max 450k
  54. <Elite$Dir>.élite %*0
  55.